<template>
  <view class="pi-scroll-container">
    <custom-navi :show-home="false">{{ title }}</custom-navi>
    <view class="pi-scroll">
      <web-view :progress="false" :src="url"></web-view>
    </view>
  </view>
</template>

<script>
export default {
  data () {
    return {
      title: '',
      url: '',
    };
  },
  onLoad (res) {
    this.title = res.title
    this.url = res.url
    uni.setNavigationBarTitle({
      title: this.title
    });
  },
  methods: {

  }
};
</script>


<style lang="scss" scoped>
.pi-scroll-container {
  background-color: #ffffff;
}
</style>
